﻿using System;
using System.Collections.Generic;
using System.Text;
using TVOnline.Entities;

namespace WatchMoviesHelper.Entities
{
    public class LinkMovieInfo : LinkInfo
    {
        public LinkMovieInfo(WebsiteInfo w, int relID)
            : base(w, relID)
        {
        }
        public override string ToString()
        {
            return String.Format("{0:00} - {1}", RelId, NbParts == 1 ? "Whole movie" : ("Movie in " + NbParts + " parts"));
        }
    }
}
